local tArgs = {...}
local sz = fs.getSize(shell.dir())
local fspc = fs.getFreeSpace(shell.dir())

gui.printAppInfo("type", fs.getDrive(shell.dir()))
if search.findValue(tArgs, "-sB") then
 gui.printAppInfo("size", tostring(sz).." B")
 gui.printAppInfo("free space", tostring(fspc).." B")
elseif search.findValue(tArgs, "-sKB") then
 gui.printAppInfo("size", tostring(sz/1024).." KB")
 gui.printAppInfo("free space", tostring(fspc/1024).." KB")
end
